<template>
  <div id="app">
    <Nav class="nav-top"></Nav>
    <div class="container">
      <PersonalInfo></PersonalInfo>
      <transition name="fade">
        <router-view class="absolute"/>
      </transition>
    </div>
  </div>
</template>

<script>
import Nav from '@/components/Nav'
import PersonalInfo from '@/components/PersonalInfo'

export default {
  name: 'App',
  components: {
    'Nav': Nav,
    'PersonalInfo': PersonalInfo
  }
}
</script>

<style>
.container {
  padding-top: 60px;
}

.absolute {
  position: absolute;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}

.fade-enter-active,
.fade-leave-active {
  transition: opacity .5s;
}
.fade-enter,
.fade-leave-to {
  opacity: 0;
}
</style>
